package com.jiang.vo;

import java.io.Serializable;

/**
 * 返回结果封装类
 * 
 * @author Administrator
 *
 */
@SuppressWarnings("serial")
public class ResultSet implements Serializable {

	private boolean success;
	private Object data;

	public ResultSet() {

	}

	public ResultSet(boolean success, Object data) {
		super();
		this.success = success;
		this.data = data;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	@Override
	public String toString() {
		return "ResultSet [success=" + success + ", data=" + data + "]";
	}

}
